package com.example.mybatisplus.service;

import com.example.mybatisplus.model.domain.FirstAppointment;
import com.example.mybatisplus.model.dto.PageDTO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 学生初访预约信息 服务类
 * </p>
 *
 * @author cft
 * @since 2022-06-24
 */
public interface FirstAppointmentService extends IService<FirstAppointment> {

	List<FirstAppointment> getBystuId(Long stuid);

	Page<FirstAppointment> getAllWaitedFirstApply(PageDTO pageDTO,FirstAppointment firstAppointment);


    void updatewithCurrentUser(FirstAppointment firstAppointment);

	FirstAppointment getByoneStuId(Long conStuId);


	/*
	 * author:cft
	 * function:获得学生选择的所有初访时间
	 */
	String[] getStuApoTime(String[] time);
}
